Optimal. Leaf size=68 \[ \frac {a x^4}{4}-\frac {b x^2 \tanh ^{-1}\left (e^{c+d x^2}\right )}{d}-\frac {b \text {PolyLog}\left (2,-e^{c+d x^2}\right )}{2 d^2}+\frac {b \text {PolyLog}\left (2,e^{c+d x^2}\right )}{2 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 5, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.312, Rules used = {14, 5545, 4267,
2317, 2438} \begin {gather*} \frac {a x^4}{4}-\frac {b \text {Li}_2\left (-e^{d x^2+c}\right )}{2 d^2}+\frac {b \text {Li}_2\left (e^{d x^2+c}\right )}{2 d^2}-\frac {b x^2 \tanh ^{-1}\left (e^{c+d x^2}\right )}{d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2317
Rule 2438
Rule 4267
Rule 5545
Rubi steps
\begin {align*} \int x^3 \left (a+b \text {csch}\left (c+d x^2\right )\right ) \, dx &=\int \left (a x^3+b x^3 \text {csch}\left (c+d x^2\right )\right ) \, dx\\ &=\frac {a x^4}{4}+b \int x^3 \text {csch}\left (c+d x^2\right ) \, dx\\ &=\frac {a x^4}{4}+\frac {1}{2} b \text {Subst}\left (\int x \text {csch}(c+d x) \, dx,x,x^2\right )\\ &=\frac {a x^4}{4}-\frac {b x^2 \tanh ^{-1}\left (e^{c+d x^2}\right )}{d}-\frac {b \text {Subst}\left (\int \log \left (1-e^{c+d x}\right ) \, dx,x,x^2\right )}{2 d}+\frac {b \text {Subst}\left (\int \log \left (1+e^{c+d x}\right ) \, dx,x,x^2\right )}{2 d}\\ &=\frac {a x^4}{4}-\frac {b x^2 \tanh ^{-1}\left (e^{c+d x^2}\right )}{d}-\frac {b \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{c+d x^2}\right )}{2 d^2}+\frac {b \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{c+d x^2}\right )}{2 d^2}\\ &=\frac {a x^4}{4}-\frac {b x^2 \tanh ^{-1}\left (e^{c+d x^2}\right )}{d}-\frac {b \text {Li}_2\left (-e^{c+d x^2}\right )}{2 d^2}+\frac {b \text {Li}_2\left (e^{c+d x^2}\right )}{2 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 108, normalized size = 1.59 \begin {gather*} \frac {1}{4} \left (a x^4+\frac {2 b \left (\left (c+d x^2\right ) \left (\log \left (1-e^{-c-d x^2}\right )-\log \left (1+e^{-c-d x^2}\right )\right )-c \log \left (\tanh \left (\frac {1}{2} \left (c+d x^2\right )\right )\right )+\text {PolyLog}\left (2,-e^{-c-d x^2}\right )-\text {PolyLog}\left (2,e^{-c-d x^2}\right )\right )}{d^2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.76, size = 0, normalized size = 0.00 \[\int x^{3} \left (a +b \,\mathrm {csch}\left (d \,x^{2}+c \right )\right )\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 144 vs.
\(2 (57) = 114\).
time = 0.40, size = 144, normalized size = 2.12 \begin {gather*} \frac {a d^{2} x^{4} - 2 \, b d x^{2} \log \left (\cosh \left (d x^{2} + c\right ) + \sinh \left (d x^{2} + c\right ) + 1\right ) - 2 \, b c \log \left (\cosh \left (d x^{2} + c\right ) + \sinh \left (d x^{2} + c\right ) - 1\right ) + 2 \, b {\rm Li}_2\left (\cosh \left (d x^{2} + c\right ) + \sinh \left (d x^{2} + c\right )\right ) - 2 \, b {\rm Li}_2\left (-\cosh \left (d x^{2} + c\right ) - \sinh \left (d x^{2} + c\right )\right ) + 2 \, {\left (b d x^{2} + b c\right )} \log \left (-\cosh \left (d x^{2} + c\right ) - \sinh \left (d x^{2} + c\right ) + 1\right )}{4 \, d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{3} \left (a + b \operatorname {csch}{\left (c + d x^{2} \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^3\,\left (a+\frac {b}{\mathrm {sinh}\left (d\,x^2+c\right )}\right ) \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________